package com.goldcn.goods.dao;

import com.goldcn.goods.model.GoodsClassifyRebate;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface GoodsClassifyRebateMapper {
    int deleteByPrimaryKey(Long rebateID);

    int insert(GoodsClassifyRebate record);

    int insertSelective(GoodsClassifyRebate record);

    GoodsClassifyRebate selectByPrimaryKey(Long rebateID);

    int updateByPrimaryKeySelective(GoodsClassifyRebate record);

    int updateByPrimaryKey(GoodsClassifyRebate record);

    GoodsClassifyRebate selectByClazzID(@Param("clazzID") String clazzID, @Param("sellerID") Long sellerID);

    List<GoodsClassifyRebate> selectBySellID(@Param("sellerID") Long sellerID, @Param("type") Integer type);

    List<GoodsClassifyRebate> selectByClazzIDList(Map<String, Object> map);
}